package com.xlh.service;

import com.xlh.pojo.UserMessageDetails;

import java.util.List;
import java.util.concurrent.Future;

/**
 * @author zhr 2019/3/6
 */
public interface SendNewMessageTaskService {
    Future<Boolean> asyncSendNewMessage(Long userId, List<UserMessageDetails> detailsList, String content);

    Future<Boolean> asyncDeleteMessage(Long userId, List<UserMessageDetails> detailsList);

    Future<Boolean> asyncReadMessage(List<Long> collect);
}
